package com.wcx.application.service.Impl;

import com.wcx.application.domian.SkillsBean;
import com.wcx.application.domian.SubindustriesBean;
import com.wcx.application.mapper.SkillsMapper;
import com.wcx.application.mapper.SubindustriesMapper;
import com.wcx.application.service.SkillsService;
import com.wcx.application.service.SubindustriesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SkillsServiceImpl implements SkillsService {
    @Autowired
    SkillsMapper skillsMapper;

    @Override
    public List<SkillsBean> getList() {
        return skillsMapper.getList();
    }

    @Override
    public int update(SkillsBean skillsBean) {
        return skillsMapper.update(skillsBean);
    }

    @Override
    public int delete(int id) {
        return skillsMapper.delete(id);
    }


    @Override
    public int create(SkillsBean skillsBean) {
        return skillsMapper.create(skillsBean);
    }

    @Override
    public List<SkillsBean> searchList(SkillsBean skillsBean) {
        return skillsMapper.searchList(skillsBean);
    }



}
